package com.newtouch.bxzs.common.base.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 个人预估收入实体类
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/6 9:48</td>
 * <td>yuanjie</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author yuanjie
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@TableName("ASSISTANT_INCOME_ESTIMATE")
public class IncomeEstimate {

    /**个人预估收入信息ID */
    @TableId(value = "INCOME_ESTIMATE_ID", type = IdType.ASSIGN_UUID)
    private String incomeEstimateId;

    /** 创建人 */
    @TableField(value = "CREATE_USER_ID")
    private String createUserId;

    /** 创建时间 */
    @TableField(value = "CREATE_TIME")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale="zh", timezone="GMT+8")
    private Date createTime;

    /** 修改人 */
    @TableField(value = "UPDATE_USER_ID")
    private String updateUserId;

    /** 修改时间 */
    @TableField(value = "UPDATE_TIME")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale="zh", timezone="GMT+8")
    private Date updateTime;

    /**备注*/
    @TableField(value = "MEMO")
    private String memo;

    /**月份 */
    @TableField(value = "MONTH")
    private Date month;

    /**收入汇总 */
    @TableField(value = "INCOME_SUMMARY")
    private Integer incomeSummary;

    /**数据来源 */
    @TableField(value = "DATA_SOURCE")
    private String dataSource;
}
